* {
    margin: 0;
    padding: 0;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 80vh;
    overflow: hidden;
}

.mySlides {
    position: relative;
    max-width: 100%;
    height: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    position: relative;
}



.mySlides {
    position: relative;
    text-align: center;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: white;
    font-size: 20px;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.5);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

/* 新增样式 */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    color: white;
    text-align: center;
    z-index: 1;
    transition: background-color 0.3s ease;
    /* 添加过渡效果 */
}

.navbar.scrolled {
    background-color: #ffffff;
    color: black;
    /* 滚动时的背景色 */
}
.navbar_div {
    width: 70%;
    margin: 0 auto;
}

.navbar_left {
    float: left;
}

.navbar_left li {
    display: inline-block;
    font-size: 0;
    width: 70px;
}

.navbar_left li a {
    font-size: 18px;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.navbar.scrolled .navbar_left li a {
    color: black;
}


.navbar_right {
    float: right;
}

.navbar_right li {
    display: inline-block;
    font-size: 0;
    width: 80px;
    text-align: right;
}

.navbar_right li a {
    font-size: 18px;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.navbar.scrolled .navbar_right li a {
    color: black;
}

.navbar a:hover {
    color: #fc4909;
}

/* 轮播图上的文字 */
#text_add_del {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
    color: white;
}

#text_add_del::after {
    content: "|";
    position: absolute;
    animation: blink-caret .75s step-end infinite;
    color: pink;
    margin-left: 5px;
    /* 调整光标与文本的距离 */
}

/* 光标闪烁动画 */
@keyframes blink-caret {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.contain {
    background-color: #f0eeee;
    width: 100%;
    min-height: 500px;

}

.container {
    width: 70%;
    margin: 0 auto;
    min-height: 500px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.con_left {
    min-height: 500px;
    flex: 5;
    align-self: flex-start;
}

/* 单个文章属性 开始  ------------------ */
.gvb_article_item {
    display: flex;
    margin-bottom: 20px;
    padding: 18px;
    background-color: #ffffff;
    border-radius: 10px;
    transition: box-shadow 0.3s, transform 0.3s;
    /* 添加过渡效果 */
}

/* 鼠标悬停时的样式 */
.gvb_article_item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* 阴影效果 */
    transform: translateY(-3px);
    /* 上浮效果 */
}

.cover {
    width: 200px;
    margin-right: 10px;
}

.cover img {
    width: 100%;
}

.info {
    flex: 1;
    margin-left: 10px;
}

.title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.title a {
    text-decoration: none;
    color: black;
}

.abstract {
    height: 50px;

}

.category {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #ffece8;
    color: #f88785;
    font-size: 14px;
    font-weight: bold;
    margin-right: 8px;
}

.date {
    margin-right: 10px;
}

.article_data span {
    margin-right: 10px;
}

.fa {
    margin-right: 5px;
}

/* 单个文章属性 结束  ------------------ */


.con_left_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background-color: #ffffff;
    border-bottom: 1px solid #f3f2f2;
    border-radius: 5px;

}

.con_left_title {
    font-size: 20px;
    font-weight: bold;
}


.con_right {
    /* background-color: aqua; */
    min-height: 500px;
    flex: 2.3;
}

/* 日历功能  -- 开始 */
.calendar {
    width: 100%;
    background-color: #ffffff;
    border-radius: 3%;
}

.calendar p {
    border-bottom: 2px solid #f2f3f5;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
    height: 50px;
    line-height: 50px;
}

.calendar-container {
    width: 80%;
    margin: 10px auto;
    font-family: Arial, sans-serif;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.calendar-header button {
    padding: 5px 10px;
    font-size: 16px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #333;
}

#prevMonthBtn::before {
    content: '\2039';
    font-size: 24px;
}

#nextMonthBtn::before {
    content: '\203A';
    font-size: 24px;
}

#monthYearDisplay {
    margin: 0 20px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);

}

.prev-month,
.next-month {
    color: #aaa;
}

.today {
    background-color: #ffcccc;
    font-weight: bold;
}

.week-header {
    width: 105%;
}

.week-header li {
    display: inline-block;
    list-style: none;
    width: 12%;
    text-align: center;
}

.calendar-day {
    padding: 9px;
    text-align: center;
    border: 1px solid #ccc;
}

/* 日历功能  -- 结束 */


/* 意见反馈功能  -- 开始 */
.feedback-form {
    max-width: 400px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    padding: 20px;
    border-radius: 5px;
    background-color: #ffffff;
}

.feedback-form h2 {
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 6px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    background-color: #f2f3f5;
}

.form-group textarea {
    height: 150px;
    resize: none;
    background-color: #f2f3f5;
}

.form-group button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.form-group button:hover {
    background-color: #0056b3;
}
/* 意见反馈功能 -- 结束 */

.end {
    background-color: #ffffff;
    width: 100%;
    height: 150px;
}
